package com.scst.mapper;

import com.github.pagehelper.Page;
import com.scst.dto.PageQueryDTO;
import com.scst.entity.WrongTopic;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface WrongTopicMapper {

    void insert(WrongTopic wrongTopic);

    void update(WrongTopic wrongTopic);

    Double sumBymap(Map map);

    Page<WrongTopic> pageQuery(PageQueryDTO pageQueryDTO);
}
